package com.weixin.xplore.dao.service;


import com.weixin.xplore.dao.entity.SaTokenDO;

import java.util.List;

public interface SaTokenDaoService  {
    SaTokenDO getBySaKey(String key);

    Boolean updateValueByKey(String value, String key);

    Boolean deleteByKey(String key);

    Boolean updateTimeoutByKey(long timeout, String key);

    List<SaTokenDO> queryValidKey();


    List<SaTokenDO> queryBySearchKey(String keyword);

    Boolean save(SaTokenDO saTokenDO);
}
